<HTML>  

<script type="application/javascript">

function DetectFFPlugin2()
{
    var mimetype = navigator.mimeTypes["application/game3d-interface-plugin"];
    if(mimetype)
    {
        var plugin = mimetype.enabledPlugin;
        if(plugin)
        {
            alert("Plugin had been installed and be enabled.");
        }
    }
    else
    {
        alert("Sorry, Plugin has NOT been installed.");
    }
}

</script>


<HEAD>  
<TITLE>Scriptable Plug-in Test</TITLE>  
</HEAD>  
<BODY id="bodyId">  
<center>  
<h1>Sample Scriptable Plug-in </h1>  
</center>  
<br><br>  
<center>  
<div id="result">  
<p>results go here:</p>  
</div>  
<embed id="embed1" name="mypi" type="application/game3d-interface-plugin" width=100 height=100><br>  
<mce:script type="text/javascript"><!--  
var embed1 = document.getElementById('embed1'); 

// --></mce:script>   
<form name="formname">  
<input type=button value="test" onclick='DetectFFPlugin2()'> 
</form>  
</center>  
</BODY>  
</HTML>  